<?php if(!defined('BASEPATH'))exit('No direct script access allowed'); ?>
<div class="bar">
    <div class="oBar">
        <div class="iBar">
            <?php foreach($buttons as $key=>$value){ ?>
            <a class="menuLink" href="#<?php if(isset($value[0])){echo $value[0];} ?>" title="<?php if(isset($value[1])){echo $value[1];} ?>">
                <div class="<?php echo $key; ?>" <?php if(isset($value[2])){echo $value[2];} ?>><?php if(isset($value[1])){echo $value[1];} ?></div>
            </a>
            <?php } ?>
            <?php if(isset($link)){ ?>
            <div class="pagination"><?php echo $link; ?></div>
            <?php }elseif(isset($total)){ ?>
            <div class="total">
                <span class="blue"><?php echo lang('TOTAL_PRICE'); ?>:</span>
                <span class="red"><?php echo $total[0]; ?></span>
                <span class="gray">(<?php echo $total[1]; ?>)</span>
            </div>
            <?php } ?>
        </div>
    </div>
</div>